Re: Javascript / FireFox help needed
am 20.07.2007 21:27:28 von lws4art
DutchMaster11 wrote:
> Can anyone tell me why the following code will work in IE7, but in in
> Firefox (or any of its sub-browsers, like Flock)? Click on the link
> that says "Alpha Communications / Alpha Media " in red. The Table row
> below that one should toggle on/off every time its clicked. In
> firefox, however, the TR never goes away and it seems like more TRs
> are added the more its clicked... please help!! :)
>
> Thanks!
>
> Dutch
>
>
>
>
>
>
Post URL to your page not the html
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Re: Javascript / FireFox help needed
am 20.07.2007 21:33:30 von DutchMaster11
The page is not public, or I would have. the HTML file works fine on
it's own, even though the pictures dont display.
Re: Javascript / FireFox help needed
am 20.07.2007 22:13:06 von lws4art
DutchMaster11 wrote:
> The page is not public, or I would have. the HTML file works fine on
> it's own, even though the pictures dont display.
>
1) please quote properly
2) well make it public, upload at least a sample page somewhere
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Re: Javascript / FireFox help needed
am 21.07.2007 06:04:50 von cwdjrxyz
On Jul 20, 12:39 pm, DutchMaster11 wrote:
> Can anyone tell me why the following code will work in IE7, but in in
> Firefox (or any of its sub-browsers, like Flock)? Click on the link
> that says "Alpha Communications / Alpha Media " in red. The Table row
> below that one should toggle on/off every time its clicked. In
> firefox, however, the TR never goes away and it seems like more TRs
> are added the more its clicked... please help!! :)
I am not quoting the very long code again. One can copy the code, take
it to the W3C validator and paste it into an input box there. Since
you do not include a Doctype, I had to guess html 4.01 transitional to
be closest to what you have. If you try to validate as anything else
between html 2.0 and html 4.01 strict, there are many more errors. The
page could not be xhtml because of the lack of special xhtml symbols.
The problem is that about 75 errors are indicated in the code
validated as html transitional. Some are just fairly formal things
that may not cause problems on most current browsers, but others are
not. So my first suggestion is to get the page to validate as html
4.01 transitional. Even this may not solve your problem, because you
use quite a bit of script which the W3C validator does not check. But
since script can often be more difficult to correct than html, getting
the html right at first is a good place to start. If the script turns
out to be the problem, it may then pay to post in a javascript group
if someone here does not see the cause of the script problem. You
should consider that those who post here get paid very little - zero,
in fact - and code as long as you posted could take a very long time
to evaluate. Thus it pays to post the url of a valid working example
that shows the problem. You need only include enough code in the
example page to show the problem, with the bulk of the code having
nothing related to display of the problem removed.